package com.studyv3.test.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.studyv3.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 【请填写功能名称】对象 study_book
 *
 * @author ruoyi
 * @date 2024-04-24
 */
@Data
@TableName("study_book")
public class StudyBook {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(value = "id")
    @Excel(name = "书籍编号", type = Excel.Type.IMPORT)
    private Long id;
    /**
     * 书名
     */
    @Excel(name = "书名")
    private String name;
    /**
     * 书的类型
     */
    @Excel(name = "书的类型")
    private Integer types;
    /**
     * 书的简介
     */
    @Excel(name = "书的简介")
    private String remark;
    /**
     * 书的总体评分
     */
    @Excel(name = "书的总体评分")
    private Double score;
    @Excel(name = "创建时间")
    private LocalDateTime createTime;

    private LocalDateTime updateTime;
    @Excel(name = "创建人")
    private String createBy;
    private String updateBy;

}
